package com.edu.domain;

/**
 * 用户
 * 实体类:类名与表名相同
 * 字段名称与类的属性名称相同
 * 封装getter和setter方法
 * 描述：
 * 创建人：飘
 * 创建时间：2024/10/31
 **/
public class User {

    /**
     * 用户id或手机号
     */
    private String userId;

    /**
     * 用户密码
     */
    private String password;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 用户性别
     * （1：男； 0：女）',
     */
    private int userSex;

    /**
     * 用户图片
     * base64位编码
     */
    private String userImg;

    /**
     * 删除标识
     * （1：正常； 0：删除）'
     */
    private int delTag;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getUserSex() {
        return userSex;
    }

    public void setUserSex(int userSex) {
        this.userSex = userSex;
    }

    public String getUserImg() {
        return userImg;
    }

    public void setUserImg(String userImg) {
        this.userImg = userImg;
    }

    public int getDelTag() {
        return delTag;
    }


    public User(){}    public void setDelTag(int delTag) {
        this.delTag = delTag;
    }
    public User(String userId, String password, String userName, int userSex, String userImg, int delTag) {
        this.userId = userId;
        this.password = password;
        this.userName = userName;
        this.userSex = userSex;
        this.userImg = userImg;
        this.delTag = delTag;
    }
}
